#ifndef CLASSWITHSTRINGS_H 
#define CLASSWITHSTRINGS_H 

#include "BearFactory.h"
#include "ClassWithStringsBear.h"


class ClassWithStrings
     : public ClassWithStringsBear
{
public:
    ClassWithStrings();

    ~ClassWithStrings();

    //You can edit this part - Start

    //You can edit this part - End
};


class ClassWithStringsFactory
     : public BBFactory
{
public:
    ClassWithStringsFactory()
    {
        BearFactory::instance()->registerFactory( "ClassWithStrings", this );
    }

    ~ClassWithStringsFactory()
    {
        //DOES NOTHING
    }

    virtual Bear* instance() const
    {
        return new ClassWithStrings();
    }
};

Q_DECLARE_METATYPE( ClassWithStrings );

#endif
